<%--
*
* 描述：二级栏目文件
* 
* 时间：2013-5-10
*
--%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="p" uri="/fisher/tld/Pagination.tld"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <title><s:property value="domain.name"/></title>
    <%@include file="/share/header.jsp"%>
    <link href="<%=request.getContextPath()%>/portal/dsnc/css/common.min.css" type=text/css rel=stylesheet>
    <p:header />
  </head>
  <body>
	<s:action name="header_dsnc" namespace="/portal" executeResult="true"/>
	<div class="scontent">
 <!--内容左边-->   
        <div class="scontentLeft">
             <div class="scontmenu"></div>
             <div class="scontbomtton">
             		<s:iterator value="domain.parent.childs" status="channel">
             			<div title="<s:property value='name'/>" class="<s:if test="(id==domain.id)">scontitleOver</s:if><s:else>scontitle</s:else>"><a href="<s:property value="getURL()"/>" target="<s:if test='whetherPop==1'>_blank</s:if><s:else>_self</s:else>"><b style="<s:if test="(id==domain.id)">color: black;</s:if><s:else>color: white;</s:else>"><s:property value="name"/></b></a>
						<s:if test="%{isNew()}"><img border="0" src="<%=request.getContextPath()%>/portal/dsnc/images/xin.gif"></s:if></div>
						</h2><br/><br/>
					</s:iterator>	
             </div>
        </div>
  <!--内容右边-->  
        <div class="scontentRight">
            <div class="scontRigTop">
                <div class="scontRigTopZi">当前位置：<a href="<s:property value="domain.parent.getURL()"/>"><s:property value="domain.parent.name"/></a>&nbsp;&gt;&nbsp;<a href="<s:property value="domain.getURL()"/>"><s:property value="domain.name"/></a></div>
          <div class="scontRigTopContrl">
	                <div class="scontRitTopContrlInputs">	
	                	<div  id="Pagination-Filter" width="100%"></div> 				
					</div>
	                <div class="sconRigTopBtn" onclick="onDoPaginationSearch()">
	                    <div class="sconRigTopBtnLeft"></div>
	                    <div class="sconRigTopBtnMie">搜索</div>
	                    <div class="sconRigTopBtnRight"></div>
	                </div>
	                <div class="sconRigTopBtn" onclick="document.location.replace('<%=path%>/portal/search_dsnc.action?advancedSearch=true&domain.id=<s:property value="domain.id"/>&channelIds=<s:property value="domain.id"/>')">
	                    <div class="sconRigTopBtnLeft"></div>
	                    <div class="sconRigTopBtnMie">高级搜索</div>
	                    <div class="sconRigTopBtnRight"></div>
	                </div>
	                &nbsp;
	       </div>        
	 <div class="scontRigBody">
             
    
				<table width="760" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td height="33" background="<%=request.getContextPath()%>/portal/dsnc/images/jjbTitle02-760.png">
							<table width="760" border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td width="73%" class="font-14b-000000"  align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="red" size="3"><b><s:property value="domain.name"/></b></font></td>
									<td width="27%" align="right"><img src="<%=request.getContextPath()%>/portal/dsnc/images/more01.gif" width="36" height="17" border="0"></td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
				<table width="760" border="0" cellpadding="1" cellspacing="1" class="font-12-000000">
<%--表格--%>
		<!-- Templates -->
		<textarea id="Pagination-FilterTemplate" rows="0" cols="0" style="display:none">
<%--		  过滤条件模板：采用jTemplates--%>
		  <!--
		    {#template MAIN}
				<input type="text" id="{$T.maintitle.id}" name="{$T.maintitle.name}"><input type="hidden" name="{$T.maintitle.type}" value="31">
		    {#/template MAIN}
		  -->
		</textarea>			
		<table width="99%" id="mytab" class="t1" cellpadding="1" cellspacing="1" border="0" align="center">
<%--标题--%>
		  <thead>
<%--		    <th >标题</th>--%>
<%--		    <th >发布日期</th>--%>
		  </thead>
<%--		  内容--%>
		  <tbody id="content">
		  </tbody>
		</table>
<%--		分页		--%>
		<p:page name="/portal/dsnc/page/informationchannel.fisher.xml" contentId="content" cssStyle="jogger" dynamicColumn="channelId" dynamicValue="domain.id">
<%--		  行模板：采用jTemplates--%>
		  <!--
		    {#template MAIN}
		        {#foreach $T.rows as Result}
		          <tr>
		            <td width=5%>
		            	{$T.Result.cell.POSITION}
		            </td>		          		            
		            <td width=85%>
		            	<a href="<%=request.getContextPath()%>/portal/detail_dsnc.action?channel.id=<s:property value='domain.id'/>&domain.id={$T.Result.id}" target="_blank">{$T.Result.cell.MAINTITLE}</a>
		            	{#if $T.Result.cell.ISNEWINFORMATION <= 3}<img border="0" src="<%=request.getContextPath()%>/portal/dsnc/images/new.gif">{#/if}	            		           
		            </td>		            
		            <td >
		            	{$T.Result.cell.PUBLISHTIME}
		            </td>
		           </tr>
		        {#/for}
		    {#/template MAIN}
		  -->		
		</p:page>
   </table>	
	</div>
	</div>
	</div></div>
	<s:action name="bottom_dsnc" namespace="/portal" executeResult="true"/>
  </body>
</html>
